package cn.gson.oasys.services.inform.impl;

import cn.gson.oasys.model.dao.informdao.InformDao;
import cn.gson.oasys.model.entity.notice.NoticesList;
import cn.gson.oasys.services.inform.InformService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

@Service
@Transactional
public class InformServiceImpl implements InformService {

    @Autowired
    private InformDao informDao;

    //记日志
    Logger log = LoggerFactory.getLogger(getClass());

    // 保存通知
    public NoticesList save(NoticesList noticelist) {
        return informDao.save(noticelist);
    }

}
